package com.jingmi.jingmiliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jingmi.common.utils.PageUtils;
import com.jingmi.jingmiliving.commodity.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品属性和商品属性组的关联表
 *
 * @author jingmi
 * @email 2771368705@qq.com
 * @date 2023-10-22 16:22:47
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //根据attrid找值
    List<AttrAttrgroupRelationEntity> selectByAttrId(Long [] attrId);

    List<AttrAttrgroupRelationEntity> selectByGroupId(Long  groupId);
}

